package com.zgxcw.monitor.model;

import java.util.Date;

public class MySQLReplication {
    private Integer id;

    private Short serverId;

    private String tags;

    private String host;

    private String port;

    private Byte isMaster;

    private Byte isSlave;

    private String readOnly;

    private String gtidMode;

    private String masterServer;

    private String masterPort;

    private String slaveIoRun;

    private String slaveSqlRun;

    private String delay;

    private String currentBinlogFile;

    private String currentBinlogPos;

    private String masterBinlogFile;

    private String masterBinlogPos;

    private Long masterBinlogSpace;

    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Short getServerId() {
        return serverId;
    }

    public void setServerId(Short serverId) {
        this.serverId = serverId;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags == null ? null : tags.trim();
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host == null ? null : host.trim();
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port == null ? null : port.trim();
    }

    public Byte getIsMaster() {
        return isMaster;
    }

    public void setIsMaster(Byte isMaster) {
        this.isMaster = isMaster;
    }

    public Byte getIsSlave() {
        return isSlave;
    }

    public void setIsSlave(Byte isSlave) {
        this.isSlave = isSlave;
    }

    public String getReadOnly() {
        return readOnly;
    }

    public void setReadOnly(String readOnly) {
        this.readOnly = readOnly == null ? null : readOnly.trim();
    }

    public String getGtidMode() {
        return gtidMode;
    }

    public void setGtidMode(String gtidMode) {
        this.gtidMode = gtidMode == null ? null : gtidMode.trim();
    }

    public String getMasterServer() {
        return masterServer;
    }

    public void setMasterServer(String masterServer) {
        this.masterServer = masterServer == null ? null : masterServer.trim();
    }

    public String getMasterPort() {
        return masterPort;
    }

    public void setMasterPort(String masterPort) {
        this.masterPort = masterPort == null ? null : masterPort.trim();
    }

    public String getSlaveIoRun() {
        return slaveIoRun;
    }

    public void setSlaveIoRun(String slaveIoRun) {
        this.slaveIoRun = slaveIoRun == null ? null : slaveIoRun.trim();
    }

    public String getSlaveSqlRun() {
        return slaveSqlRun;
    }

    public void setSlaveSqlRun(String slaveSqlRun) {
        this.slaveSqlRun = slaveSqlRun == null ? null : slaveSqlRun.trim();
    }

    public String getDelay() {
        return delay;
    }

    public void setDelay(String delay) {
        this.delay = delay == null ? null : delay.trim();
    }

    public String getCurrentBinlogFile() {
        return currentBinlogFile;
    }

    public void setCurrentBinlogFile(String currentBinlogFile) {
        this.currentBinlogFile = currentBinlogFile == null ? null : currentBinlogFile.trim();
    }

    public String getCurrentBinlogPos() {
        return currentBinlogPos;
    }

    public void setCurrentBinlogPos(String currentBinlogPos) {
        this.currentBinlogPos = currentBinlogPos == null ? null : currentBinlogPos.trim();
    }

    public String getMasterBinlogFile() {
        return masterBinlogFile;
    }

    public void setMasterBinlogFile(String masterBinlogFile) {
        this.masterBinlogFile = masterBinlogFile == null ? null : masterBinlogFile.trim();
    }

    public String getMasterBinlogPos() {
        return masterBinlogPos;
    }

    public void setMasterBinlogPos(String masterBinlogPos) {
        this.masterBinlogPos = masterBinlogPos == null ? null : masterBinlogPos.trim();
    }

    public Long getMasterBinlogSpace() {
        return masterBinlogSpace;
    }

    public void setMasterBinlogSpace(Long masterBinlogSpace) {
        this.masterBinlogSpace = masterBinlogSpace;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}